package com.ymttest.database.sharding.db.sharding.model;

import java.math.BigDecimal;
import java.util.Date;

public class OrderDetailPo {
    /**
     * order_detail_id BIGINT(19) 必填<br>
     * 主键
     */
    private Long orderDetailId;

    /**
     * order_id BIGINT(19) 必填<br>
     * 订单号
     */
    private Long orderId;

    /**
     * product_id VARCHAR(50) 必填<br>
     * 商品Id
     */
    private String productId;

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 规格Id
     */
    private String catalogId;

    /**
     * first_category_Id INTEGER(10) 必填<br>
     * 一级类目
     */
    private Integer firstCategoryId;

    /**
     * second_category_Id INTEGER(10) 必填<br>
     * 二级类目
     */
    private Integer secondCategoryId;

    /**
     * third_category_Id INTEGER(10) 必填<br>
     * 三级类目
     */
    private Integer thirdCategoryId;

    /**
     * product_count INTEGER(10) 必填<br>
     * 商品数
     */
    private Integer productCount;

    /**
     * bonded_area INTEGER(10) 默认值[0] 必填<br>
     * 保税区
     */
    private Integer bondedArea;

    /**
     * product_snap VARCHAR(100)<br>
     * 商品快照
     */
    private String productSnap;

    /**
     * product_price DECIMAL(18,2) 必填<br>
     * 商品成交价
     */
    private BigDecimal productPrice;

    /**
     * original_price DECIMAL(18,2) 必填<br>
     * 商品原价
     */
    private BigDecimal originalPrice;

    /**
     * subsidy_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 商品补贴金额
     */
    private BigDecimal subsidyAmount;

    /**
     * seller_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 分摊后买手优惠券金额
     */
    private BigDecimal sellerCouponAmount;

    /**
     * ymt_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 分摊后平台优惠券金额
     */
    private BigDecimal ymtCouponAmount;

    /**
     * promotion_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 买手促销优惠金额
     */
    private BigDecimal promotionAmount;

    /**
     * discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 分摊后折扣金额
     */
    private BigDecimal discount;

    /**
     * freight DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 运费
     */
    private BigDecimal freight;

    /**
     * thirdparty_discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 第三方优惠金额
     */
    private BigDecimal thirdpartyDiscount;

    /**
     * activity_id INTEGER(10) 默认值[0] 必填<br>
     * 活动Id
     */
    private Integer activityId;

    /**
     * activity_temp_id INTEGER(10) 默认值[0] 必填<br>
     * 活动模板Id
     */
    private Integer activityTempId;

    /**
     * tariff_type INTEGER(10) 必填<br>
     * 买家或买手承担关税(0-卖家承担 1-买家承担)
     */
    private Integer tariffType;

    /**
     * refund_channel INTEGER(10) 必填<br>
     * 商品退货渠道(0-不能 1-官方 2-卖家)
     */
    private Integer refundChannel;

    /**
     * sales_type INTEGER(10) 必填<br>
     * 1-现货 2-直播
     */
    private Integer salesType;

    /**
     * free_freight BIT(1) 必填<br>
     * 是否免运费
     */
    private Boolean freeFreight;

    /**
     * support_no_reason_refund BIT(1) 必填<br>
     * 是否支持7天无理由退货
     */
    private Boolean supportNoReasonRefund;

    /**
     * psp_product BIT(1) 必填<br>
     * 是否PSP商品
     */
    private Boolean pspProduct;

    /**
     * sub_product BIT(1) 必填<br>
     * 是否有子商品
     */
    private Boolean subProduct;

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 新增时间
     */
    private Date addTime;

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 更新时间
     */
    private Date updateTime;

    /**
     * order_detail_id BIGINT(19) 必填<br>
     * 获得 主键
     */
    public Long getOrderDetailId() {
        return orderDetailId;
    }

    /**
     * order_detail_id BIGINT(19) 必填<br>
     * 设置 主键
     */
    public void setOrderDetailId(Long orderDetailId) {
        this.orderDetailId = orderDetailId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单号
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单号
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * product_id VARCHAR(50) 必填<br>
     * 获得 商品Id
     */
    public String getProductId() {
        return productId;
    }

    /**
     * product_id VARCHAR(50) 必填<br>
     * 设置 商品Id
     */
    public void setProductId(String productId) {
        this.productId = productId == null ? null : productId.trim();
    }

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 获得 规格Id
     */
    public String getCatalogId() {
        return catalogId;
    }

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 设置 规格Id
     */
    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId == null ? null : catalogId.trim();
    }

    /**
     * first_category_Id INTEGER(10) 必填<br>
     * 获得 一级类目
     */
    public Integer getFirstCategoryId() {
        return firstCategoryId;
    }

    /**
     * first_category_Id INTEGER(10) 必填<br>
     * 设置 一级类目
     */
    public void setFirstCategoryId(Integer firstCategoryId) {
        this.firstCategoryId = firstCategoryId;
    }

    /**
     * second_category_Id INTEGER(10) 必填<br>
     * 获得 二级类目
     */
    public Integer getSecondCategoryId() {
        return secondCategoryId;
    }

    /**
     * second_category_Id INTEGER(10) 必填<br>
     * 设置 二级类目
     */
    public void setSecondCategoryId(Integer secondCategoryId) {
        this.secondCategoryId = secondCategoryId;
    }

    /**
     * third_category_Id INTEGER(10) 必填<br>
     * 获得 三级类目
     */
    public Integer getThirdCategoryId() {
        return thirdCategoryId;
    }

    /**
     * third_category_Id INTEGER(10) 必填<br>
     * 设置 三级类目
     */
    public void setThirdCategoryId(Integer thirdCategoryId) {
        this.thirdCategoryId = thirdCategoryId;
    }

    /**
     * product_count INTEGER(10) 必填<br>
     * 获得 商品数
     */
    public Integer getProductCount() {
        return productCount;
    }

    /**
     * product_count INTEGER(10) 必填<br>
     * 设置 商品数
     */
    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    /**
     * bonded_area INTEGER(10) 默认值[0] 必填<br>
     * 获得 保税区
     */
    public Integer getBondedArea() {
        return bondedArea;
    }

    /**
     * bonded_area INTEGER(10) 默认值[0] 必填<br>
     * 设置 保税区
     */
    public void setBondedArea(Integer bondedArea) {
        this.bondedArea = bondedArea;
    }

    /**
     * product_snap VARCHAR(100)<br>
     * 获得 商品快照
     */
    public String getProductSnap() {
        return productSnap;
    }

    /**
     * product_snap VARCHAR(100)<br>
     * 设置 商品快照
     */
    public void setProductSnap(String productSnap) {
        this.productSnap = productSnap == null ? null : productSnap.trim();
    }

    /**
     * product_price DECIMAL(18,2) 必填<br>
     * 获得 商品成交价
     */
    public BigDecimal getProductPrice() {
        return productPrice;
    }

    /**
     * product_price DECIMAL(18,2) 必填<br>
     * 设置 商品成交价
     */
    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    /**
     * original_price DECIMAL(18,2) 必填<br>
     * 获得 商品原价
     */
    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    /**
     * original_price DECIMAL(18,2) 必填<br>
     * 设置 商品原价
     */
    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    /**
     * subsidy_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 商品补贴金额
     */
    public BigDecimal getSubsidyAmount() {
        return subsidyAmount;
    }

    /**
     * subsidy_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 商品补贴金额
     */
    public void setSubsidyAmount(BigDecimal subsidyAmount) {
        this.subsidyAmount = subsidyAmount;
    }

    /**
     * seller_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 分摊后买手优惠券金额
     */
    public BigDecimal getSellerCouponAmount() {
        return sellerCouponAmount;
    }

    /**
     * seller_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 分摊后买手优惠券金额
     */
    public void setSellerCouponAmount(BigDecimal sellerCouponAmount) {
        this.sellerCouponAmount = sellerCouponAmount;
    }

    /**
     * ymt_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 分摊后平台优惠券金额
     */
    public BigDecimal getYmtCouponAmount() {
        return ymtCouponAmount;
    }

    /**
     * ymt_coupon_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 分摊后平台优惠券金额
     */
    public void setYmtCouponAmount(BigDecimal ymtCouponAmount) {
        this.ymtCouponAmount = ymtCouponAmount;
    }

    /**
     * promotion_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 买手促销优惠金额
     */
    public BigDecimal getPromotionAmount() {
        return promotionAmount;
    }

    /**
     * promotion_amount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 买手促销优惠金额
     */
    public void setPromotionAmount(BigDecimal promotionAmount) {
        this.promotionAmount = promotionAmount;
    }

    /**
     * discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 分摊后折扣金额
     */
    public BigDecimal getDiscount() {
        return discount;
    }

    /**
     * discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 分摊后折扣金额
     */
    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    /**
     * freight DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 运费
     */
    public BigDecimal getFreight() {
        return freight;
    }

    /**
     * freight DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 运费
     */
    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    /**
     * thirdparty_discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 获得 第三方优惠金额
     */
    public BigDecimal getThirdpartyDiscount() {
        return thirdpartyDiscount;
    }

    /**
     * thirdparty_discount DECIMAL(18,2) 默认值[0.00] 必填<br>
     * 设置 第三方优惠金额
     */
    public void setThirdpartyDiscount(BigDecimal thirdpartyDiscount) {
        this.thirdpartyDiscount = thirdpartyDiscount;
    }

    /**
     * activity_id INTEGER(10) 默认值[0] 必填<br>
     * 获得 活动Id
     */
    public Integer getActivityId() {
        return activityId;
    }

    /**
     * activity_id INTEGER(10) 默认值[0] 必填<br>
     * 设置 活动Id
     */
    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    /**
     * activity_temp_id INTEGER(10) 默认值[0] 必填<br>
     * 获得 活动模板Id
     */
    public Integer getActivityTempId() {
        return activityTempId;
    }

    /**
     * activity_temp_id INTEGER(10) 默认值[0] 必填<br>
     * 设置 活动模板Id
     */
    public void setActivityTempId(Integer activityTempId) {
        this.activityTempId = activityTempId;
    }

    /**
     * tariff_type INTEGER(10) 必填<br>
     * 获得 买家或买手承担关税(0-卖家承担 1-买家承担)
     */
    public Integer getTariffType() {
        return tariffType;
    }

    /**
     * tariff_type INTEGER(10) 必填<br>
     * 设置 买家或买手承担关税(0-卖家承担 1-买家承担)
     */
    public void setTariffType(Integer tariffType) {
        this.tariffType = tariffType;
    }

    /**
     * refund_channel INTEGER(10) 必填<br>
     * 获得 商品退货渠道(0-不能 1-官方 2-卖家)
     */
    public Integer getRefundChannel() {
        return refundChannel;
    }

    /**
     * refund_channel INTEGER(10) 必填<br>
     * 设置 商品退货渠道(0-不能 1-官方 2-卖家)
     */
    public void setRefundChannel(Integer refundChannel) {
        this.refundChannel = refundChannel;
    }

    /**
     * sales_type INTEGER(10) 必填<br>
     * 获得 1-现货 2-直播
     */
    public Integer getSalesType() {
        return salesType;
    }

    /**
     * sales_type INTEGER(10) 必填<br>
     * 设置 1-现货 2-直播
     */
    public void setSalesType(Integer salesType) {
        this.salesType = salesType;
    }

    /**
     * free_freight BIT(1) 必填<br>
     * 获得 是否免运费
     */
    public Boolean getFreeFreight() {
        return freeFreight;
    }

    /**
     * free_freight BIT(1) 必填<br>
     * 设置 是否免运费
     */
    public void setFreeFreight(Boolean freeFreight) {
        this.freeFreight = freeFreight;
    }

    /**
     * support_no_reason_refund BIT(1) 必填<br>
     * 获得 是否支持7天无理由退货
     */
    public Boolean getSupportNoReasonRefund() {
        return supportNoReasonRefund;
    }

    /**
     * support_no_reason_refund BIT(1) 必填<br>
     * 设置 是否支持7天无理由退货
     */
    public void setSupportNoReasonRefund(Boolean supportNoReasonRefund) {
        this.supportNoReasonRefund = supportNoReasonRefund;
    }

    /**
     * psp_product BIT(1) 必填<br>
     * 获得 是否PSP商品
     */
    public Boolean getPspProduct() {
        return pspProduct;
    }

    /**
     * psp_product BIT(1) 必填<br>
     * 设置 是否PSP商品
     */
    public void setPspProduct(Boolean pspProduct) {
        this.pspProduct = pspProduct;
    }

    /**
     * sub_product BIT(1) 必填<br>
     * 获得 是否有子商品
     */
    public Boolean getSubProduct() {
        return subProduct;
    }

    /**
     * sub_product BIT(1) 必填<br>
     * 设置 是否有子商品
     */
    public void setSubProduct(Boolean subProduct) {
        this.subProduct = subProduct;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 新增时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 新增时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderDetailId=").append(orderDetailId);
        sb.append(", orderId=").append(orderId);
        sb.append(", productId=").append(productId);
        sb.append(", catalogId=").append(catalogId);
        sb.append(", firstCategoryId=").append(firstCategoryId);
        sb.append(", secondCategoryId=").append(secondCategoryId);
        sb.append(", thirdCategoryId=").append(thirdCategoryId);
        sb.append(", productCount=").append(productCount);
        sb.append(", bondedArea=").append(bondedArea);
        sb.append(", productSnap=").append(productSnap);
        sb.append(", productPrice=").append(productPrice);
        sb.append(", originalPrice=").append(originalPrice);
        sb.append(", subsidyAmount=").append(subsidyAmount);
        sb.append(", sellerCouponAmount=").append(sellerCouponAmount);
        sb.append(", ymtCouponAmount=").append(ymtCouponAmount);
        sb.append(", promotionAmount=").append(promotionAmount);
        sb.append(", discount=").append(discount);
        sb.append(", freight=").append(freight);
        sb.append(", thirdpartyDiscount=").append(thirdpartyDiscount);
        sb.append(", activityId=").append(activityId);
        sb.append(", activityTempId=").append(activityTempId);
        sb.append(", tariffType=").append(tariffType);
        sb.append(", refundChannel=").append(refundChannel);
        sb.append(", salesType=").append(salesType);
        sb.append(", freeFreight=").append(freeFreight);
        sb.append(", supportNoReasonRefund=").append(supportNoReasonRefund);
        sb.append(", pspProduct=").append(pspProduct);
        sb.append(", subProduct=").append(subProduct);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}